package com.roper.yygh.hosp.repository;

import com.roper.yygh.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Description:
 * Date:      2021/7/10 21:07
 * author:    LPH
 * version:   V1.0
 */
@Repository
public interface HospReopsitory extends MongoRepository<Hospital, String> {
    Hospital getHospitalByHoscode(String hoscode);

    Hospital getHospitalById(String id);
}
